<!--
 * @Description:块元素
 * @Author: zzj
 * @Date: 2021-08-13 10:44:24
 * @LastEditors: zzj
 * @LastEditTime: 2021-08-13 11:41:48
 * @FilePath: \jiepuyiqing\tyut\zzj\html\day01\2-block.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>块元素</title>
    <style>
        /* 重置样式 */
        body{
            margin: 0;
        }
        p{
            margin: 0;
        }
        ul{
            margin: 0;
            padding: 0;
            list-style: none;
        }
        ul.menu > li{
            line-height: 2em;
            background-color: violet;
            border-bottom: 1px solid wheat;
        }
    </style>
    

</head>
<body>
    <div>this is first div</div>
    <div>this is second div</div>
    <div>this is third div</div>
    <p>段落1</p>
    <p>段落2</p>
    <ul class="menu">
        <li>html</li>
        <li>css</li>
        <li>js</li>
    </ul>

    <ol>
        <li>vue</li>
        <li>react</li>
        <li>angular</li>
    </ol>

    <dl>
        <dt>学生管理</dt>
        <dd>学生档案</dd>
        <dd>学生请假</dd>
        <dd>学生就业</dd>
        <dt>教书管理</dt>
        <dd>教师考勤</dd>
        <dd>教师薪资</dd>
    </dl>
    <h1>标题1</h1>
    <h2>标题2</h2>
    <h3>标题3</h3>
</body>
</html>